<div class="box box-default">
  <div class="box-body">
    <form class="form-inline">
      <div class="box box-default">
        <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-left:0px;margin-bottom:8px !important;">
          <button type="button" class="btn btn-primary" *ngIf="_.includes(menuResourceSet,'btn-oto-export-khxx')" (click)="exportExcel()">
              <i class="fa fa-sign-out"></i>导出</button>
          <button type="button" class="btn btn-box-tool pull-right" data-widget="collapse">
              <i class="fa fa-minus"></i>
            </button>
        </div>
        <div class="box-body" style="display:block">
          <div class="form-group col-lg-12" style="padding-left:0px !important;">
            <label class=" control-label">产品名称：</label>
            <input type="text" class="form-control" name="sFullName" [(ngModel)]="getCustomerPost.sFullName" placeholder="产品全称">
            <label class="control-label">产品代码：</label>
            <input type="text" class="form-control" name="sFundCode" [(ngModel)]="getCustomerPost.sFundCode" placeholder="产品代码">
            <label class="control-label">委托人：</label>
            <input type="text" class="form-control" name="sPrincipal" [(ngModel)]="getCustomerPost.sPrincipal" placeholder="委托人">
            <button type="button" class="btn btn-primary" (click)="list(1)">
                    <i class="fa fa-search"></i>查询</button>
          </div>
        </div>
      </div>
    </form>

    <div class="box-body" style="padding-left:0px;padding-right:0px;">
      <div style="overflow-x:scroll;width:100%">
        <table id="fixed-table" class="table table-bordered table-keep-line table-hover table-striped">
          <thead>
            <tr>
              <th class="width-5">
                <div class="checkbox checkbox-primary">
                  <input type="checkbox" id="checkboxAll" [(ngModel)]="isCheckedAll" (ngModelChange)="checkedAll()">
                  <label></label>
                </div>
              </th>
              <th class="width-8" (click)="orderData('sFundCodeZh')">产品代码<i class="fa fa-sort"></i></th>
              <th class="width-17" (click)="orderData('sFullNameZh')">产品名称<i class="fa fa-sort"></i></th>
              <th class="width-20" (click)="orderData('sPrincipal')">委托人<i class="fa fa-sort"></i></th>
              <th class="width-20" (click)="orderData('sLegalPerson')">法人<i class="fa fa-sort"></i></th>
              <th class="width-15" (click)="orderData('sAgent')">经办人<i class="fa fa-sort"></i></th>
              <th class="width-15" (click)="orderData('sCapitanSource')">资金来源<i class="fa fa-sort"></i></th>
            </tr>
          </thead>
          <tbody>
            <tr *ngFor="let item of customerList">
              <td class="width-5">
                <div class="checkbox checkbox-primary">
                  <input type="checkbox" id="checkbox1" [(ngModel)]="item.isChecked" (ngModelChange)="ctrlCheckAll()">
                  <label></label>
                </div>
              </td>
              <td class="width-8 short_name" [attr.title]="item.sFundCodeZh">{{item.sFundCodeZh}}</td>
              <td class="width-17 short_name" [attr.title]="item.sFullNameZh">{{item.sFullNameZh}}</td>
              <td class="width-20 short_name" [attr.title]="item.sPrincipal">{{item.sPrincipal}}</td>
              <td class="width-20 short_name" [attr.title]="item.sLegalPerson">{{item.sLegalPerson}}</td>
              <td class="width-15 short_name" [attr.title]="item.sAgent">{{item.sAgent}}</td>
              <td class="width-15 short_name" [attr.title]="item.sCapitanSource">{{item.sCapitanSource}}</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div class="box-footer clearfix">
      <app-pagination [currentPageNum]="customerListPageInfo.currentPageNum" [pagesShow]="" [totalPages]="customerListPageInfo.totalPages"
        (pageChanged)="customerPageNavigation($event)">
        <div class="pull-left pagination-detail" data-pagination-additional="true">
          <span class="pagination-info">
              当前显示第{{customerListPageInfo.startRow}}到第{{customerListPageInfo.endRow}}条，总共{{customerListPageInfo.total}}条，
            </span>
          <span class="page-list">
              每页记录
              <span class="btn-group dropup">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                  <span class="page-size">{{customerListPageInfo.pageSize}}</span>
          <span class="caret"></span>
          </button>
          <ul class="dropdown-menu" role="menu">
            <li *ngFor="let i of customerListPageInfo.pageList" role="menuitem" [class.active]="customerListPageInfo.pageSize === i"
              (click)="customerpageSizeChange(i)">
              <a>{{i}}</a>
            </li>
          </ul>
          </span>条
          </span>
        </div>
      </app-pagination>
    </div>
  </div>
</div>